home *** CD-ROM | disk | FTP | other *** search
/ AppleScript - The Beta Release / AppleScript - The Beta Release.iso / Documentation / IM-Interapplication Comm / IM—Interapplication Comm / IM—Interapplication Comm.rsrc / IDX#_1000 < prev    next >
Encoding:
Text File  |  1992-11-17  |  25.6 KB  |  30 lines

  1. 9SymbolsABCDEFGHIJKLMNOPQRSTUVWXYZ'aete' resourcerole ofaete resourcerole of]role of](scriptable applications andaete resourcescriptable applications and]scriptable applications and]Apple event handlers
  2. introduced3Apple Event Interprocess Messaging Protocol (AEIMP)9Apple event object class. See object classes, Apple eventApple event objectsApple Event Registry\Standard Suites andStandard Suites andobject classes anddefinedhandlingsending and responding toApple Event Registry\Standard Suites.Apple events. See also Apple event attributes\AppleScript scripting languagescriptable applications and
  3. supporting%client applications, for Apple events
  4. introducedCore suite of Apple events#Edition Manager. See also editions\&functional-area suites of Apple events$interapplication communication (IAC)architecture, definedintroduction toprincipal methods ofrole of Apple eventsobject classes, Apple eventApple event objects and!Open Scripting Architecture (OSA)defined publishers\recordable applications
  5. introducedrequirements forRequired suite of Apple eventsscriptable applications*'aete' resource andscriptable applications'aete' resource and]'aete' resource and]AppleScript and
  6. introducedrequirements for
  7. introducedscripting languages/AppleScript. See AppleScript scripting language
  8. supportingscripts
  9. introducedmanipulating and executing%server applications, for Apple events
  10. introducedSet Data eventhandlingsent during script execution subscribers
  11. introduced Toy Surprise2and applications that execute scripts[Toy Surprise"applications that execute scripts]"applications that execute scripts]scriptable applications and&additional parameters for Apple eventsaddress descriptor recordsdefined
  12. AE recordsdefined9relationship to other Apple Event Manager data structuresAEAddressDesc data typeAEDesc data typeAEDescList data typeAEKeyDesc data typeAEKeyword data typeAERecord data typeApple event attributesdefinedevent classes    event IDsApple event dispatch tablesdefineddefinedtasks performed byApple Event Managerclassification ofcontainer hierarchy fordefined#described in Apple event parametersfindinghierarchy within an applicationobject specifier records andApple event parameters
  13. additionalattributes and parameters forclient applications usingdata structures indefineddirectoptional
  14. processingrequesting services throughrequiredresponding toserver applications usingApple event recordsdefined9relationship to other Apple Event Manager data structures.Apple events. See also Apple event attributes\AppleEvent data type%client applications, for Apple eventsdefined.container hierarchy, for an Apple event objectdefined#containers, for Apple event objects%described in object specifier recordscProperty as object class IDdescriptor listsdefined9relationship to other Apple Event Manager data structuresAdescriptor records. See also keyword-specified descriptor recordsdefined9relationship to other Apple Event Manager data structuresdescriptor typesdefinedDescType data type"direct parameters for Apple eventselements of Apple event objects3and element classes[elements of Apple event objectselement classes]element classes]event recordsevent classes in event IDs in
  15. extensionsof object classes[extensionsobject classes]object classes]3handlers for Apple events. See Apple event handlers%key data, in object specifier recordsdefined%key form, in object specifier recordsdefinedAkeyword-specified descriptor records. See also descriptor recordsdefinedkeywords for Apple eventsnull descriptor recordas default reply Apple eventobject class IDsin object specifier records"object class inheritance hierarchyOand classification of Apple event objectsclassification of Apple event objects]definedobject specifier recordsdefined    resolvingOpen Documents eventillustration of responding to$optional parameters for Apple eventsdefined!properties of Apple event objectsdefined$required parameters for Apple eventsand object specifier recordsdefined%source applications, for Apple events'subclasses, in object class definitions)superclasses, in object class definitions%target applications, for Apple eventsdefinedzzcProperty constantzzdataHandle fieldzzdescContent fieldzzdescKey fieldzzdescriptorType field!'****' (wildcard) descriptor typeF'****' (wildcard) descriptor type[asterisk (wildcard) descriptor type]'SIZE' resource!use by Apple events[SIZE resourceuse by Apple events]use by Apple events]2deleting keyword-specified descriptor records fromgetting data out of!getting descriptor records out ofMgetting sizes and descriptor types of keyword-specified descriptor records inAEArrayData data typeAEArrayDataPointer data typeAEArrayType  data typeAECoerceDesc functionAECoercePtr functionAECountItems functionAEDeleteItem functionAEDeleteKeyDesc functionAEDeleteParam functionAEDisposeDesc functionAEEventClass data typeAEEventID data typeAEEventSource data typeAEGetArray functionAEGetAttributeDesc functionAEGetAttributePtr functionAEGetCoercionHandler functionAEGetEventHandler function AEGetInteractionAllowed functionAEGetKeyDesc functionAEGetKeyPtr functionAEGetNthDesc functionAEGetNthPtr functionAEGetParamDesc functionAEGetParamPtr functionAEGetSpecialHandler functionAEGetTheCurrentEvent function!AEInstallCoercionHandler functionAEInstallEventHandler function AEInstallSpecialHandler functionAEInteractAllowed data typeAEInteractWithUser functionAEProcessAppleEvent function AERemoveCoercionHandler functionAERemoveEventHandler functionAERemoveSpecialHandler functionAEResetTimer function AEResumeTheCurrentEvent function AESetInteractionAllowed functionAESetTheCurrentEvent functionAESizeOfAttribute functionAESizeOfKeyDesc functionAESizeOfNthItem functionAESizeOfParam function!AESuspendTheCurrentEvent functiongetting data out of!getting descriptor records out ofgetting descriptor types ofgetting sizes ofinteraction levelmissed keywordoptional keywordApple event data structures disposing of
  16. summarizedgetting entries frominstalling entries inremoving entries fromsystemadding to dispatch tables,called from the AEProcessAppleEvent functiongetting from dispatch tablesremoving from dispatch tableswriting routines inuse of Notification Manager(user interaction with server application    acceptingchecking for missing requireddeletingdetermining current dispatching disposing of error number error stringgetting data out of!getting descriptor records out ofgetting descriptor types ofgetting sizes ofhandlingOpen ApplicationPrint DocumentsQuit Application!relationship to high-level events replying to Reset Timerresuming handling ofsuspending handling of disposing ofgetting data out of!getting descriptor records out of$setting user interaction preferences&coercion handlers for descriptor typescounting descriptor records in deleting descriptor records from disposing ofgetting data out of!getting descriptor records out of;getting sizes and descriptor types of descriptor records incoercing data incounting in descriptor lists disposing of'getting data out of, in descriptor list0getting descriptor types of, in descriptor listsgetting from attributesgetting from descriptor lists1getting from keyword-specified descriptor recordsgetting from parameters%getting sizes of, in descriptor listscoercingdetermining in AE recordsdetermining in Apple eventsdetermining in descriptor listsdispatch tables'for Apple event handlersdispatch tablesApple event handlers]Apple event handlers]$for coercion handlersdispatch tablescoercion handlers]coercion handlers]#for special handlersdispatch tablesspecial handlers]special handlers]    File menu Quit command"Gestalt, selector for Apple events(high-level events. See also Apple events$handling when accepting Apple eventsisHighLevelEventAware flagkAEAlwaysInteract flagkAEAnswer event IDkAECanInteract flagkAECanSwitchLayer flagkAEInteractWithAll flagkAEInteractWithLocal flagkAEInteractWithSelf flagkAENeverInteract flagkAEQueueReply flagkAEWaitReply flagkeyAEEditionFileLoc keywordkeyErrorNumber keywordkeyErrorString keywordkeyEventSourceAttr keywordkeyInteractLevelAttr keywordkeyMissedKeywordAttr keywordkeyOptionalKeywordAttr keyworddeleting from AE records disposing ofgetting data out of!getting descriptor records out ofgetting descriptor types ofgetting sizes ofkHighLevelEvent  message classlocalAndRemoteHLEvents flagmenu commands,Quit (File menu), and Quit Application eventMyCoerceDesc functionMyCoercePtr functionMyEventHandler functionMyGotRequiredParams function%MyHandleCreatePublisherEvent functionMyHandleODoc functionMyHandlePDoc functionMyHandleQuit functionMyHandler functionNotification Managerused by the Apple Event Managerobject callback functions#special handler dispatch tables andObject Support Library    disablingOpen Application eventhandlinghandlingPrint Documents eventhandlingprogram linking'to server applications for Apple eventsQuit Application eventhandling Quit command and Quit Application Apple eventreference constantexample of use*for Apple event handler[reference constantApple event handler]Apple event handler] disposing of timeouts forrequired Apple eventsReset Timer eventsample routinesDoEventDoHighLevelEventMyGotRequiredParamsMyHandleCreatePublisherEvent MyHandleODoc MyHandlePDoc MyHandleQuit    MyHandlerMyMultHandler SectionEventMsgClass event class$setting user interaction preferencesuser interaction withApple events sent by0installing entries in Apple event dispatch table!system Apple event dispatch tablesystem coercion dispatch table&timeouts for interacting with the usertimeouts for reply Apple eventstypeWildCard descriptor typeuser interaction
  17. requesting*setting preferences for client application*setting preferences for server applicationzzAEDataArray fieldzzAEDescArray fieldzzAEHandleArray fieldzzAEKeyDescArray fieldzzAEPackedArray field zzisHighLevelEventAware constantzzkAEAlwaysInteract constantzzkAEAnswer constantzzkAECanInteract constantzzkAECanSwitchLayer constantzzkAEDefaultTimeout constantzzkAEIDoMarking constantzzkAEIDoMinimum constantzzkAENeverInteract constantzzkAENoDispatch constantzzkAEQueueReply constant!zzkAEUseStandardDispatch constantzzkAEWaitReply constantzzkeyAEEditionFileLoc constantzzkeyErrorNumber constantzzkeyErrorString constantzzkeyMissedKeywordAttr constant!zzkeyOptionalKeywordAttr constantzzkeyPreDispatch constantzzkeySelectProc constantzzkHighLevelEvent constantzzkNoTimeOut constant!zzlocalAndRemoteHLEvents constantzzSectionEventMsgClass constantzztypeWildCard constant'miss' keyword[miss keyword]'optk' keywordoptk keyword]adding to an Apple event1for direct dispatching[address descriptor recordsdirect dispatching]direct dispatching]adding data to.adding keyword-specified descriptor records tocreatingAECreateAppleEvent functionAECreateDesc functionAECreateList functionAEDuplicateDesc functionAEPutArray functionAEPutAttributeDesc functionAEPutAttributePtr functionAEPutDesc functionAEPutKeyDesc functionAEPutKeyPtr functionAEPutParamDesc functionAEPutParamPtr functionAEPutPtr functionAESend functionAESendPriority data typeadding to Apple events,setting with the AECreateAppleEvent functiontarget addresstimeoutaddingaddresses forcreatingreply.  See reply Apple eventssendingsending to the current processadding descriptor records toadding items tocreatingadding as attributesadding as parametersadding to descriptor listscreating duplicatingevents. See also Apple events.processing while waiting for reply Apple event.processing while waiting for reply Apple event0idle functions for Apple Event Manager functionskAEDontReconnect flagkAEHighPriority flagkAENoReply flagkAENormalPriority flagkAEWantReceipt flagkeyTimeoutAttr keywordadding to AE records MyCreateOptionalKeyword functionMyGetTargetAddress functionMyIdleFunction functionMySendMultiplyEvent functionMySetTargetAddresses procedureMyWaitReplyFilter function
  18. specifyingPPCBrowser functionuse with Apple eventsreply Apple events"filter functions while waiting for timeouts for#required paramters for Apple eventsEand keyOptionalKeywordAttr attributekeyOptionalKeywordAttr attribute]MyCreateOptionalKeywordMyGetTargetAddressMyIdleFunctionMySendMultiplyEventMySetTargetAddressessendMode flags for AESend target addresses of Apple events!typeApplSignature descriptor type'typeProcessSerialNumber descriptor typetypeSessionID descriptor typetypeTargetID descriptor typeWaitNextEvent functionuse by the Apple Event ManagerzzkAEDonReconnect constantzzkAEHighPriority constantzzkAENoReply constantzzkAENormalPriority constantzzkAEWantReceipt constantzzkAnyTransactionID constantzzkAutoGenerateReturnIDzzkCurrentProcess constantzzkeyTimeoutAttr constantzztypeApplSignature constant"zztypeProcessSerialNumber constantzztypeSessionID constantzztypeTargetID constantAECallObjectAccessor functionAEDisposeToken functionAEGetObjectAccessor function AEInstallObjectAccessor functionAEObjectInit functionAERemoveObjectAccessor functionAEResolve functionAESetObjectCallbacks functionObject Support Library and#object accessor functions that find
  19. tokens forboundary objects%specified in range descriptor records+specified in whose range descriptor recordsccntTokenRecord data typecomparison descriptor recordcomparison operators forcreatingdefined*complex object specifier records, creating%described in object specifier records for formTest
  20. specifyingdefault
  21. specifyingspecifying for a rangeCreateCompDescriptor function CreateLogicalDescriptor functionCreateObjSpecifier functionCreateOffsetDescriptor functionCreateRangeDescriptor function,for object accessor functionsdispatch tablesobject accessor functions]object accessor functions]formAbsolutePosition key formformName key formformPropertyID key form key data for
  22. specifyingformRange key form
  23. specifyingformRelativePosition key form
  24. specifyingformTest key form key data for
  25. specifyingformWhose key formGet Data event4illustration of resolving object specifier record in4sample object accessor functions called by AEResolvefor formAbsolutePositionfor formNameIDfor formPropertyID for formTestfor formWhose
  26. specifying
  27. specifyingkeyAEContainer keywordkeyAEDesiredClass keywordlogical descriptor recordcreatingdefinedmark token functionmark-adjusting functionmarking callback functionsMyAdjustMarks functionMyCompareObjects functionMyCountObjects function"MyCreateComparisonDescRec functionMyCreateDocContainer function%MyCreateFormNameObjSpecifier functionMyCreateLogicalDescRec functionMyCreateObjSpecRec function MyCreateRangeDescriptor functionMyCreateTableContainer functionMyDisposeToken function%MyFindDOcumentObjectAccessor function!MyFindParaObjectAccessor function-MyFindPropertyOfWindowObjectAccessor function#MyFindWindowObjectAccessor function!MyFindWordObjectAccessor functionMyGetMarkToken functionMyMark functionMyObjectAccessor functionMyRequestRowFromTarget functionnested vs. free-standing!used to specify default containerobject accessor dispatch tablesdefinedgetting entries frominstalling entries inremoving entries fromsystemobject accessor functionsadding to dispatch tablescallingdefinedexamples'for propertiesobject accessor functions properties] properties]getting from dispatch tablesremoving from dispatch tableswhose descriptor records andwritingdefinedmark token functionmark-adjusting functionmarking callback functionsobject comparison functionobject-counting functionobject-marking function
  28. specifyingtoken disposal functionwritingobject comparison functioncomplexcreating"resolving, illustration that showssimple, creatingspecifying a propertyspecifying a rangespecifying a relative positionspecifying a test"specifying the container hierarchy initializinglinkingobject-counting functionobject-marking function"offset descriptor record, creating#object accessor functions that find(specifying in an object specifier recordrange descriptor recordscreating/for object accessor function[reference constantobject accessor function]object accessor function]MyCompareObjectsMyCountObjectsMyCreateComparisonDescRecMyCreateDocContainerMyCreateFormNameObjSpecifierMyCreateLogicalDescRecMyCreateObjSpecRecMyCreateRangeDescriptorMyCreateTableContainerMyFindDocumentObjectAccessorMyFindParaObjectAccessor$MyFindPropertyOfWIndowObjectAccessorMyFindWindowObjectAccessorMyFindWordObjectAccessorMyRequestRowFromTargetsimple object specifier recordscreating%system object accessor dispatch tabletoken disposal functiondefinedmarking callback functions andtokens, for Apple event objectsdefineddefining descriptor types forobject accessor functions andranges of text and#typeAbsoluteOrdinal descriptor type"typeCompDescriptor descriptor type$typeCurrentContainer descriptor type%typeLogicalDescriptor descriptor type#typeObjectSpecifier descriptor type#typeWhoseDescriptor descriptor typetypeWhoseRange descriptor typewhose descriptor recordswhose range descriptor recordszzformAbsolutePosition constantzzformName constantzzformPropertyID constantzzformTest constantzzformWhose constantzzkAEBeginsWith constantzzkAEContains constantzzkAEEndsWith constantzzkAEEquals constantzzkAEGreaterThan constantzzkAEGreaterThanEquals constantzzkAEIDoWhose constantzzkAELessThan constantzzkAELessThanEquals constantzzkeyAEContainer constantzzkeyAEDesiredClass constantzztoken fieldzztokenClass fieldzztypeAbsoluteOrdinal constantzztypeCompDescriptor constantzztypeCurrentContainer constant zztypeLogicalDescriptor constantzztypeNull constantzztypeObjectSpecifier constantzztypeWhoseDescriptor constantzztypeWhoseRange constantdefinedaete resourcedefined]defined]dynamic loading ofaete resourcedynamic loading of]dynamic loading of]role of]role ofaeut resourcerole of]0'aplt' creator signature[aplt creator signature] 'APPL' file type[APPL file type]0'dplt' creator signature[dplt creator signature])'scpt'  resource type[scpt resource type] 'scpt' file type[scpt file type]:Apple event user terminology resource. See 'aeut' resourceAppleScript scripting languagedefineddialects, definedapplet%client applications, for Apple events>and scripting components[client applications, for Apple eventsscripting components]scripting components]compiled scriptsdefined+dialects, of AppleScript scripting languagedefineddroplet$factoring, for Apple event recordingGet AETE event
  29. introducedGet Data eventsent by AppleScript componentMove Apple event%modified by handler in script context!Open Scripting Architecture (OSA):and scripting components[Open Scripting Architecture (OSA)scripting components]scripting components]recordable applicationsdefinedrequirements forresume dispatch functiondefinedscript applicationappletdropletscript commentscript contextdefined executing Apple event handler in
  30. introduced script datadefinedscript editorsdefined script file    script IDdefinedscript text file script valuedefineddefinedscripting components/and scriptable applicationsscripting componentsscriptable applications]scriptable applications]definedroutines for, overview ofdefinedmanipulating and executingsent by AppleScript componentsource data, for scriptsdefined"terminology resources, Apple eventand AppleScriptdefinedscript window forcreatingaete resource    creating]    creating]#supporting new suites[aete resourcesupporting new suites]supporting new suites]7supporting standard suites with extensionsaete resource+supporting standard suites with extensions]+supporting standard suites with extensions]*supporting subsets of suites[aete resourcesupporting subsets of suites]supporting subsets of suites]comparison operators array]elements array[aeut resourceelements array]elements array]enumerations arrayaeut resourceenumerations array]enumerations array]events arrayaeut resourceevents array]events array]header data[aeut resource header data] header data]"object classes array[aeut resourceobject classes array]object classes array]properties arrayaeut resourceproperties array]properties array]&resource type declarationaeut resourceresource type declaration]resource type declaration]suites array[aeut resourcesuites array]suites array]Get AETE eventhandling$insertion location descriptor recorddefined    recordingCreate Element event handler$factoring, for Apple event recording    File menu New command Quit command%sending events without executing themwindow movementkAEDontExecute flagMyDoDragWindow procedureMyDoMenuNew procedureMyDoMenuQuit procedureMyHandleCreateElement functionMySendAECreateElement functionMySendAEQuit function    factoringguidelines for what to recordMyDoDragWindow MyDoMenuNew MyDoMenuQuitMyHandleCreateElementMySendAECreateElement MySendAEQuit'and Apple event recordingscript editorsApple event recording]Apple event recording]-and Apple event recordingscripting componentsApple event recording]zzkAEDontExecute constant0'dplt' creator signature[dplt creator signature],'erng' descriptor type[erng descriptor type])'osa ' component type[osa component type]0'scpt' component subtype[scpt component subtype]('scpt' resource type[scpt resource type]'srce' keyword[srce keyword]'srcs' keyword[srcs keyword]active functionroutines for manipulatingsupplying an alternative#AECreateAppleEventProcPtr data typeAECreateProcPtr functionAESendProcPtr data typeAESendProcPtr function#AppleScript component, routines forASGetSourceStyleNames functionASGetSourceStyles functionASInit functionASSetSourceStyles functioncompiled scriptsmodifying and recompiling9compiling, routines for scripting components that support;component description record, scripting component flags forcomponent instance record4component instance, and scripting component routinesComponent Manager+opening connection with scripting component$component-specific descriptor recorddefined!ComponentInstanceRecord data typecreate functionroutines for manipulatingsupplying an alternativeFerrors in script compilation or execution, obtaining information aboutFindNextComponent functiongeneric scripting componentname of component, obtainingopening a connection to!generic storage descriptor recorddefined!routines for manipulating trailerkeyOSASourceEnd keywordkeyOSASourceStart keyword kOASComponentType component typekOASComponentType constant6kOSAGenericScriptingComponentSubtype component subtype&kOSAGenericStorageType descriptor typekOSAScriptResourceType resourcekOSASupportsAECoercion flagkOSASupportsAESending flagkOSASupportsCoercion flagkOSASupportsCompiling flagkOSASupportsDialects flagkOSASupportsGetSource flagkOSASupportsRecording flagkOSASupportsTinkering flagkOSASupportsWindowEditing flagMyActiveProc functionMyAECreateProc functionMyAESendProc functionMyConnectToScripting functionMyDoNewScript procedureMyEditGenericScript procedure#MyGeneralAppleEventHandler functionMyGetScriptErrorInfo procedureMyLoadAndExecute procedureMyResumeDispatch functionOpenComponent functionOpenDefaultComponent functionOSAActive functionOSAActiveProcPtr data typeOSAAddStorageType functionOSAAvailableDialects functionOSACoerceFromDesc functionOSACoerceToDesc functionOSACompile functionOSACompileExecute functionOSACopyID functionOSADisplay functionOSADispose functionOSADoEvent functionOSADoScript function#OSAExactScriptingComponent functionOSAExecute functionOSAExecuteEvent functionOSAGetActiveProc functionOSAGetCreateProc functionOSAGetCurrentDialect function!OSAGetResumeDispatchProc functionOSAGetScriptInfo functionOSAGetSendProc functionOSAGetSource functionOSAGetStorageType functionOSALoad functionOSALoadExecute functionOSAMakeContext functionOSARemoveStorageType functionOSAScriptError function"OSAScriptingComponentName functionOSASetActiveProc functionOSASetCreateProc functionOSASetCurrentDialect function!OSASetResumeDispatchProc functionOSASetScriptInfo functionOSASetSendProc functionOSAStartRecording functionOSAStopRecording functionOSAStore functionRecorded Text eventrecording scripts routines forresume dispatch handlerexample of useMyConnectToScriptingMyDoNewScriptMyEditGenericScriptMyGeneralAppleEventHandlerMyGetScriptErrorInfoMyLoadAndExecutecreator signature forscript application filecreator signature forresources for.executing Apple event handler in, routines forused for global contextcoercing descriptor record tocoercing to descriptor record disposing of    executinggetting handle toloading and executingresource and file types for saving and loading, routines forsaving, overview of%setting and getting information aboutstorage formats forupdatingcoercing to readable textcoercion of, routines for(application-defined functions for use by%connecting with via Component Manager&flags for component description recordoptional routines forrequired routines forroutines used bywriting#executing in one step, routines formultithreaded execution of"recording, Recorded Text event andrecording, routines forsend functionroutines for manipulatingsupplying an alternative3AppleScript routines for getting and setting styles    compilingcompiling and executingobtaining from script data!typeOSAErrorRange descriptor type%typeOSAGenericStorage descriptor typeXCMD as a script zzdata fieldzzkeyOSASourceEnd constantzzkeyOSASourceStart constantzzkOASNullScript constant/zzkOSAGenericScriptingComponentSubtype constant!zzkOSAGenericStorageType constant!zzkOSAScriptResourceType constant!zzkOSASupportsAECoercion constant zzkOSASupportsAESending constantzzkOSASupportsCoercion constant zzkOSASupportsCompiling constantzzkOSASupportsDialects constant zzkOSASupportsGetSource constant zzkOSASupportsRecording constant zzkOSASupportsTinkering constant$zzkOSASupportsWindowEditing constantzztypeOSAErrorRange constant zztypeOSAGenericStorage constant